From ac223cf0558f573e77bfbd13a3796413de3a4421 Mon Sep 17 00:00:00 2001 From: "cl349@arcadians.cl.cam.ac.uk" Date: Thu, 16 Dec 2004 15:15:24 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.486 (41c1a68cZmAJPf5BRttK5N6DNHO9wg) Don't bind a misdirect virq handler. --- netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c b/netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c index 0f275484dd..6eb5331301 100644 --- a/netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c +++ b/netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c @@ -80,7 +80,6 @@ static int irq_bindcount[NR_IRQS]; static int xen_die_handler(void *); #endif static int xen_debug_handler(void *); -static int xen_misdirect_handler(void *); void events_default_setup() @@ -111,10 +110,6 @@ init_events() event_set_handler(irq, &xen_debug_handler, NULL, IPL_DEBUG); hypervisor_enable_irq(irq); - irq = bind_virq_to_irq(VIRQ_MISDIRECT); - event_set_handler(irq, &xen_misdirect_handler, NULL, IPL_DIE); - hypervisor_enable_irq(irq); - /* This needs to be done early, but after the IRQ subsystem is * alive. */ ctrl_if_init(); @@ -370,13 +365,3 @@ xen_debug_handler(void *arg) printf("debug event\n"); return 0; } - -static int -xen_misdirect_handler(void *arg) -{ -#if 0 - char *msg = "misdirect\n"; - (void)HYPERVISOR_console_io(CONSOLEIO_write, strlen(msg), msg); -#endif - return 0; -} -- 2.30.2